import request from '@/utils/request'

export function uploadFile(file) {
  return request({
    headers: {
      'Content-Type': 'multipart/form-data'
    },
    url: '/common/upload',
    method: 'post',
    data: file
  })
}